package com.piggy.logi.sys.api.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * 分段价格分页查询对象 logi_price_seg
 *
 * @author piggy
 * @date 2023-08-14
 */

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("分段价格分页查询对象")
public class LogiPriceSegQueryBo extends BaseEntity {

	/** id */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("id")
	private Long id;
	/** 方案id */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("方案id")
	private Long planId;
	/** 计费模式 */
	@ApiModelProperty("计费模式")
	private String feeMode;
	/** 开始值(带小数点) */
	@ApiModelProperty("开始值(带小数点)")
	private BigDecimal floatStart;
	/** 结束值(带小数点) */
	@ApiModelProperty("结束值(带小数点)")
	private BigDecimal floatEnd;
	/** 开始值 */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("开始值")
	private Long intStart;
	/** 结束值 */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@ApiModelProperty("结束值")
	private Long intEnd;
	/** 价格 */
	@ApiModelProperty("价格")
	private BigDecimal price;
	/** 序号 */
	@ApiModelProperty("序号")
	private Integer sort;

	private List<Long> idList;
	/** 服务商ID */
	private List<Long> planIdList;

}
